// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import VueResource from 'vue-resource'
import store from './store/index.js'
import moment from 'moment'
Vue.use(VueResource);
Vue.prototype.$moment = moment;
// Vue.config.productionTip = false
// Vue.config.productionTip = false
//全局使用插件
Vue.use(ElementUI);


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>',
  data(){
    return{
      show : true
    }
  }
})
